<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <style>

        /*弹出层style begin*/
        .layerBlock {
            min-width: 720px;
            max-width: 95%;
            min-height: 300px;
            background-color: #ffffff;
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate3D(-50%, -45%, 0);
            overflow: hidden;
            padding: 45px 20px;
        }

        .layerRightClose {
            width: 33px;
            height: 30px;
            line-height: 30px;
            display: block;
            position: absolute;
            top: 0px;
            right: -3px;
            text-align: center;
            font-size: 28px;
            color: #ffffff;
            background-color: #e1e1e1;
        }

        .layerContent, .layerTitle {
            width: 100%;
            text-align: center;
            font-size: 42px;
            padding: 45px 3px;
            box-sizing: border-box;
            overflow: auto;
            font-family: 微软雅黑;
        }

        .layerOptBtn {
            width: 410px;
            margin: 0 auto;
        }

        .layerOptBtn > div {
            width: 168px;
            height: 70px;
            line-height: 70px;
            float: right;
            text-align: center;
            border: 1.5px solid #cccccc;
            border-radius: 5px;
            font-size: 30px;
            font-family: 微软雅黑;
        }

        .layerOptBtn > div:nth-child(1) {
            float: left;
        }

        .layerbtn, .layerClose, .save-btn, .cancel-btn {
            cursor: pointer;
        }

        .layerbtn {
            color: #ffffff;
            background-color: #ff5d3c;
            border: 0 !important;
        }

        /*弹出层style end*/
    </style>
</head>
<body>

<script src="modules/jquery.min.js"></script>
<script>
    var utils = {
        showCoverLayer: function (param, callback, callbackClose) {
            //id:如果一个页面需多次调用方法，则用id区分
            var title = param.title ? param.title : '';



        }
    };
    utils.showCoverLayer({id: 'del', title: '确定删除此商品？'}, function () {
        console.log('确定');
    });

</script>
</body>
</html>